package top.yeyusmile.pojo;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * 酷我音乐搜索结果封装
 *
 * @author 夜雨
 * @Web www.yeyusmile.top
 * @date 2022/3/16 0:25
 */
public class KuWoSearchResult {


    @SerializedName("abslist")
    private List<SubList> list;

    public List<SubList> getList() {
        return list;
    }

    public void setList(List<SubList> list) {
        this.list = list;
    }

     public static class SubList {

        @SerializedName("ARTIST")
        String artist;
        @SerializedName("NAME")
        String name;

        @SerializedName("web_artistpic_short")
        String pic;

        @SerializedName("MUSICRID")
        String musicId;

        public String getArtist() {
            return artist;
        }

        public void setArtist(String artist) {
            this.artist = artist;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPic() {
            return pic;
        }

        public void setPic(String pic) {
            this.pic = pic;
        }

        public String getMusicId() {
            return musicId;
        }

        public void setMusicId(String musicId) {
            this.musicId = musicId;
        }

        @Override
        public String toString() {
            return "SubList{" +
                    "artist='" + artist + '\'' +
                    ", name='" + name + '\'' +
                    ", pic='" + pic + '\'' +
                    ", musicId='" + musicId + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "KuWoSearchResult{" +
                "list=" + list +
                '}';
    }
}
